package com.easy.neo4j.service;

import com.easy.common.util.Result;
import com.easy.neo4j.entry.PowerBike;
import com.easy.neo4j.statistics.PowerBikeStatistics;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-03-29 15:20
 **/
@Service
public interface BikeService {
    Result<String> addBike(String pic, String bikeMode, String platform, String lat, String lng, String bikeId, String cityCode, String mileage, String power, String parkName);
    /**
     * @Author: CoolPro
     * @Date: 29/3/2024
     * @Description:  删除单车
     * @Name: deleteBike
     * @param bikeNo 单车编号
     * @return: void
    */
    void deleteBike(@Param("bikeNo") String bikeNo);

    Result<List<PowerBike>> detailedQueryOfBicycleInformation(String platform, String parkName, String info, String startMileage, String endMileage);

    Result getPlatformInfo();

}
